import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/pages/Login/Login'
import Forget from '@/pages/Forget/Forget'
import Forget_cz from '@/pages/Forget/Forget_cz'
import Forget_cg from '@/pages/Forget/Forget_cg'
import Register from '@/pages/Register/Register'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login,
      meta: {
        keepAlive: false,
      }
    },
    {
      path: '/Register',
      name: 'Register',
      component: Register,
      meta: {
        keepAlive: false,
      }
    },
    {
      path: '/Forget',
      name: 'Forget',
      component: Forget,
      meta: {
        keepAlive: false,
      }
    },
    {
      path: '/Forget_cg',
      name: 'Forget_cg',
      component: Forget_cg,
      meta: {
        keepAlive: false,
      }
    },
    {
      path: '/Forget_cz',
      name: 'Forget_cz',
      component: Forget_cz,
      meta: {
        keepAlive: false,
      }
    }
  ]
})
